<me:UIMCT x:Class="WPFExcelReport.TSZL02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    xmlns:WF="clr-namespace:WPFExcelReport;assembly=TICC_WFEVENTS" 
                    x:Name="TV"
                    Loaded="Window_Loaded"
     >
    <me:UIMCT.Resources>
        <CollectionViewSource  x:Key="vwMaster"/>       <CollectionViewSource  x:Key="vwDetail"/>
        <ucd:Divideby1440  x:Key="day"/>
        <ucd:Divideby480  x:Key="shift"/>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>
    </me:UIMCT.Resources>
    <StackPanel>
        
  
    <WrapPanel>
         <WF:TBTNEXE CMD="ZL02" DLL="TAMSTAMM" STWNW="MainWindow" INFO="GO" IsInfo="True" /> 
        <TextBlock Grid.Row="0"  Width="Auto"  Margin="0,0,0,0" Text="{Binding Source={Localization:Translate Word=PLC}}"  VerticalAlignment="Center"/>
        <ComboBox  Grid.Row="1"
             ItemsSource="{Binding Source={StaticResource vwMaster}}"
               Margin="10,0,0,0" 
               IsSynchronizedWithCurrentItem="True"
               Background="White"  MinWidth="200" 
               DisplayMemberPath="LOCALIP"
               IsEditable="True"
               VerticalAlignment="Center"
               SelectedValuePath="LOCALIP" 
               />
            <TextBlock Text="{Binding DEVNAME}"></TextBlock>
    </WrapPanel>
        <Expander Header="{Binding PLCIP,ElementName=TV}" 
                  IsExpanded="True">
            <me:TZLAN 
                IsAuto="True"
                ORDERNUM="{Binding PLCIP,ElementName=TV}"
                ZP0="{Binding ZP0,ElementName=TV}"
                ZP1="{Binding ZP1,ElementName=TV}"
                ZP2="{Binding ZP2,ElementName=TV}"
                ZP3="{Binding ZP3,ElementName=TV}"
                ZP4="{Binding ZP4,ElementName=TV}"
                ZP5="{Binding ZP5,ElementName=TV}"
                ZP6="{Binding ZP6,ElementName=TV}"
                ZP7="{Binding ZP7,ElementName=TV}"
                ZP8="{Binding ZP8,ElementName=TV}"
                ZP9="{Binding ZP9,ElementName=TV}"
                ZP10="{Binding ZP10,ElementName=TV}"
                DATASEND="{Binding DATASEND,ElementName=TV}" 
                />
        </Expander>
    </StackPanel>
</me:UIMCT> 
 
